package org.neurone.userspace.userinfo.impl;

import org.neurone.userspace.UserFaceMock;
import org.neurone.userspace.UserInfoMock;
import org.neurone.userspace.dao.DaoServer;

public class UserFaceFactoryMock extends UserFaceLocalFactory {

	@Override
	public UserFaceLocal getNewUserFace(Long userID) {
		UserFaceLocal u = new UserFaceLocal();
		u.setUserDetailDao(this.daoServer.getUserDetailDao());
		u.setUserInfoDao(this.daoServer.getUserInfoDao());
		u.initByUserID(userID);
		return u;
	}

	
}
